meta: create devcontainer.json
authorAndrey Butirsky <[email protected]>
Sat, 23 Sep 2023 21:56:11 +0000 (21:56 +0000)
committerJosef Schlehofer <[email protected]>
Sun, 15 Jun 2025 11:20:08 +0000 (13:20 +0200)
Maintainer: me
Compile tested: mips, ath79, OpenWrt SNAPSHOT

Description:
Development container configuration.
The container can run locally or in cloud (Codespaces).
Sample usage: easily open full-featured VS Code IDE in browser,
pre-configured for OpenWrt packages development.

When run in the Codespaces, the packages repo is found in /workspaces/packages.
To add it to the feeds, run inside the container:
$ sed -i '1s;^;src-link workspaces /workspaces/packages\n;' ~/feeds.conf.default

Signed-off-by: Andrey Butirsky <[email protected]>
.devcontainer/devcontainer.json [new file with mode: 0644]

diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644 (file)
index 0000000..389a5a6
--- /dev/null
@@ -0,0 +1,5 @@
+{
+  "image": "docker.io/openwrt/sdk",
+  "features": {
+  }
+}